package com.tanhua.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tanhua.model.db.BasePojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName tb_question
 */
@TableName(value ="tb_question")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionVo extends BasePojo implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 问题内容
     */
    private String content;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}